<!DOCTYPE html><html lang="en-us" >

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  
  
  
  <meta name="generator" content="Wowchemy 5.0.0-beta.1 for Hugo">
  

  

  
  

  
  
  
  
  
    
    
    
  
  

  <meta name="author" content="Wei Li (李伟)">

  
  
  
    
  
  <meta name="description" content="气象数据可视化">

  
  <link rel="alternate" hreflang="en-us" href="/post/visualization-of-history-daily-weather/">

  







  




  
  
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  

  
  
  
  <meta name="theme-color" content="#2962ff">
  

  
  

  
  
  
  
    
    
      <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.0/css/academicons.min.css" integrity="sha512-W4yqoT1+8NLkinBLBZko+dFB2ZbHsYLDdr50VElllRcNt2Q4/GSs6u71UHKxB7S6JEMCp5Ve4xjh3eGQl/HRvg==" crossorigin="anonymous">
    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha256-FMvZuGapsJLjouA6k7Eo2lusoAX9i0ShlWFG6qt7SLc=" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" integrity="sha256-Vzbj7sDDS/woiFS3uNKo8eIuni59rjyNGtXfstRzStA=" crossorigin="anonymous">

    
    
    
      
    
    
      
      
        
          <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/styles/github.min.css" crossorigin="anonymous" title="hl-light">
          <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/styles/dracula.min.css" crossorigin="anonymous" title="hl-dark" disabled>
        
      
    

    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.css" integrity="sha512-1xoFisiGdy9nvho8EgXuXvnpR5GAMSjFwp40gSRE3NwdUdIMIKuPa7bqoUhLD0O/5tPNhteAsE5XyyMi5reQVA==" crossorigin="anonymous">
    

    

    
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
    
      

      
      

      
        <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/lazysizes.min.js" integrity="sha512-TmDwFLhg3UA4ZG0Eb4MIyT1O1Mb+Oww5kFG0uHqXsdbyZz9DcvYQhKpGgNkamAI6h2lGGZq2X8ftOJvF/XjTUg==" crossorigin="anonymous" async></script>
      
    
      

      
      

      
    
      

      
      

      
    
      

      
      
        
      

      
    
      

      
      

      
    
      

      
      

      
    

  

  
  
  
    
      
      
      <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700%7CRoboto:400,400italic,700%7CRoboto+Mono&display=swap">
    
  

  
  
  
  
  <link rel="stylesheet" href="/css/wowchemy.min.a48fb1f34a27c6e7031eccd314620376.css">

  




  

  


  
  

  

  <link rel="manifest" href="/index.webmanifest">
  <link rel="icon" type="image/png" href="/images/icon_hu8fa43e4483d02e4bfdf294b3386ef244_148313_32x32_fill_lanczos_center_2.png">
  <link rel="apple-touch-icon" type="image/png" href="/images/icon_hu8fa43e4483d02e4bfdf294b3386ef244_148313_192x192_fill_lanczos_center_2.png">

  <link rel="canonical" href="/post/visualization-of-history-daily-weather/">

  
  
  
  
  
  
  
    
    
  
  
  <meta property="twitter:card" content="summary">
  
  <meta property="og:site_name" content="R package website">
  <meta property="og:url" content="/post/visualization-of-history-daily-weather/">
  <meta property="og:title" content="Visualization of history daily weather | R package website">
  <meta property="og:description" content="气象数据可视化"><meta property="og:image" content="/images/icon_hu8fa43e4483d02e4bfdf294b3386ef244_148313_512x512_fill_lanczos_center_2.png">
  <meta property="twitter:image" content="/images/icon_hu8fa43e4483d02e4bfdf294b3386ef244_148313_512x512_fill_lanczos_center_2.png"><meta property="og:locale" content="en-us">
  
    
      <meta property="article:published_time" content="2020-12-18T00:00:00&#43;00:00">
    
    <meta property="article:modified_time" content="2020-12-18T11:23:45&#43;08:00">
  

  


    






  




<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "/post/visualization-of-history-daily-weather/"
  },
  "headline": "Visualization of history daily weather",
  
  "datePublished": "2020-12-18T00:00:00Z",
  "dateModified": "2020-12-18T11:23:45+08:00",
  
  "author": {
    "@type": "Person",
    "name": "Wei Li (李伟)"
  },
  
  "publisher": {
    "@type": "Organization",
    "name": "R package website",
    "logo": {
      "@type": "ImageObject",
      "url": "/images/icon_hu8fa43e4483d02e4bfdf294b3386ef244_148313_192x192_fill_lanczos_center_2.png"
    }
  },
  "description": "气象数据可视化"
}
</script>

  

  


  


  





  <title>Visualization of history daily weather | R package website</title>

</head>


<body id="top" data-spy="scroll" data-offset="70" data-target="#TableOfContents" class="page-wrapper  ">

  
  
  
  
  
  <script src="/js/wowchemy-init.js"></script>

  <aside class="search-results" id="search">
  <div class="container">
    <section class="search-header">

      <div class="row no-gutters justify-content-between mb-3">
        <div class="col-6">
          <h1>Search</h1>
        </div>
        <div class="col-6 col-search-close">
          <a class="js-search" href="#"><i class="fas fa-times-circle text-muted" aria-hidden="true"></i></a>
        </div>
      </div>

      <div id="search-box">
        
        <input name="q" id="search-query" placeholder="Search..." autocapitalize="off"
        autocomplete="off" autocorrect="off" spellcheck="false" type="search" class="form-control">
        
      </div>

    </section>
    <section class="section-search-results">

      <div id="search-hits">
        
      </div>

    </section>
  </div>
</aside>


  <div class="page-header">
    












<nav class="navbar navbar-expand-lg navbar-light compensate-for-scrollbar" id="navbar-main">
  <div class="container">

    
    <div class="d-none d-lg-inline-flex">
      <a class="navbar-brand" href="/">R package website</a>
    </div>
    

    
    <button type="button" class="navbar-toggler" data-toggle="collapse"
            data-target="#navbar-content" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
    <span><i class="fas fa-bars"></i></span>
    </button>
    

    
    <div class="navbar-brand-mobile-wrapper d-inline-flex d-lg-none">
      <a class="navbar-brand" href="/">R package website</a>
    </div>
    

    
    
    <div class="navbar-collapse main-menu-item collapse justify-content-start" id="navbar-content">

      
      <ul class="navbar-nav d-md-inline-flex">
        

        

        
        
        
          
        

        

        
        
        
        

        
          
            
            
          
          
        

        <li class="nav-item">
          <a class="nav-link " href="/contact/"><span>ggwheat</span></a>
        </li>

        
        

        

        
        
        
          
        

        

        
        
        
        

        
          
            
            
          
          
            
            
            
              
            
            
          
        

        <li class="nav-item">
          <a class="nav-link " href="/#about"><span>About me</span></a>
        </li>

        
        

      

        
      </ul>
    </div>

    <ul class="nav-icons navbar-nav flex-row ml-auto d-flex pl-md-2">
      
      
      <li class="nav-item">
        <a class="nav-link js-search" href="#" aria-label="Search"><i class="fas fa-search" aria-hidden="true"></i></a>
      </li>
      

      
      
      <li class="nav-item dropdown theme-dropdown">
        <a href="#" class="nav-link" data-toggle="dropdown" aria-haspopup="true" aria-label="Display preferences">
          <i class="fas fa-moon" aria-hidden="true"></i>
        </a>
        <div class="dropdown-menu">
          <a href="#" class="dropdown-item js-set-theme-light">
            <span>Light</span>
          </a>
          <a href="#" class="dropdown-item js-set-theme-dark">
            <span>Dark</span>
          </a>
          <a href="#" class="dropdown-item js-set-theme-auto">
            <span>Automatic</span>
          </a>
        </div>
      </li>
      

      

    </ul>

  </div>
</nav>


  </div>

  <div class="page-body">
    <article class="article">

  












  

  
  
  
<div class="article-container pt-3">
  <h1>Visualization of history daily weather</h1>

  

  
    


<div class="article-metadata">

  
  

  
  <span class="article-date">
    
    
      
          Last updated on
      
    
    Dec 18, 2020
  </span>
  

  

  
  <span class="middot-divider"></span>
  <span class="article-reading-time">
    4 min read
  </span>
  

  
  
  
  
  

  
  

</div>

    














  
</div>



  <div class="article-container">

    <div class="article-style">
      
<script src="/rmarkdown-libs/htmlwidgets/htmlwidgets.js"></script>
<script src="/rmarkdown-libs/echarts/echarts-all.js"></script>
<script src="/rmarkdown-libs/charts-ext/main.js"></script>
<script src="/rmarkdown-libs/charts-ext/BMap.js"></script>
<script src="/rmarkdown-libs/echarts-binding/echarts.js"></script>


<p>最近在整理收集的气象数据，想着能否找一种可视化的方式展示出来，便于从中提取有效信息。于是想到了之前用的<code>recharts</code>, 这款由谢益辉大神开发的R包有着非常详细的使用说明，参数调整非常方便。早先用它做过一些数据展示，现在重新拾起，越发觉得这款R包的强大。</p>
<p>下面仅展示用这些数据得到的图，有机会再详细将如何使用</p>
<p>这是30年平均气温的展示</p>
<div id="htmlwidget-1" style="width:100%;height:480px;" class="echarts html-widget"></div>
<script type="application/json" data-for="htmlwidget-1">{"x":{"series":[{"type":"line","data":[10.3382513661202,10.7857534246575,11.2978082191781,11.5430136986301,10.179781420765,10.0728767123288,10.5284931506849,10.5824657534247,10.8934426229508,11.4865753424658,11.2545205479452,10.7501369863014,10.9647540983607,11.0120547945205,11.8460273972603,11.3830136986301,10.8084699453552,11.6627397260274,12.078904109589,11.9175342465753,11.5726775956284,11.698904109589,11.9890410958904,11.7797260273973,11.7644808743169,11.3112328767123,11.8893150684932,12.3668493150685,11.4748633879781,11.5397260273973,10.7361643835616,11.5504109589041,10.674043715847,10.8284931506849,12.127397260274,11.9139726027397,11.8991803278689,12.2356164383562,11.6567123287671,12.0654794520548,"-"],"showAllSymbol":true}],"yAxis":[{"type":"value","show":true,"position":"left","name":"气温","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false},"axisTick":{"show":false},"axisLabel":{"show":true,"formatter":"{value} °C"},"splitLine":{"show":true},"splitArea":{"show":false}}],"xAxis":[{"type":"category","show":true,"position":"bottom","name":"年份","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false},"axisTick":{"show":false},"axisLabel":{"show":true,"formatter":"function (x) {return x;}"},"splitLine":{"show":false},"splitArea":{"show":false},"data":["1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020"]}],"tooltip":{"show":true,"trigger":"axis","axisPointer":{"type":"line","crossStyle":{"type":"dashed"},"lineStyle":{"type":"solid","width":1},"shadowStyle":{"color":"rgba(150,150,150,0.3)","width":"auto","type":"default"}},"textStyle":{"color":"#fff"},"formatter":"function (params) {\n       var i;\n       var j;\n       var text;\n       var text1;\n       var sName = \"\";\n       if (params.length > 1){\n            if (params[0].value.length >1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       } else {\n            if (params[0].value.length > 1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       }\n       if (params.length > 1){\n           text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n           for (i = 1; i < params.length; i++) {\n                if (params[i].value.length > 1){\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value[0];\n                   for (j = 1; j < params[i].value.length; j++){\n                        text += \", \" + params[i].value[j];\n                   }\n                } else {\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value;\n                }\n           }\n       } else {\n           if (params[0].seriesName){\n               text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           } else {\n               text += \" :  \" + text1;\n           }\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n       }\n       return text;\n    }","islandFormatter":"{a} < br/>{b} : {c}","enterable":false,"showDelay":20,"hideDelay":100,"transitionDuration":0.4,"backgroundColor":"rgba(0,0,0,0.7)","borderColor":"#333","borderWidth":0,"borderRadius":4},"toolbox":{"show":true,"feature":{"mark":{"show":true},"dataZoom":{"show":true},"dataView":{"show":true,"readOnly":false},"magicType":{"show":true,"type":["line","bar","tiled","stack"]},"restore":{"show":true},"saveAsImage":{"show":true}},"x":"right","y":"center","orient":"vertical"},"legend":{"show":true,"data":[],"x":"left","y":"top","orient":"horizontal","selectedMode":"multiple"},"title":{"text":"顺义地区40年年度平均温度分析","x":"center","y":"bottom","orient":"horizontal"},"theme":{"backgroundColor":["#d5e4eb"],"grid":{"borderWidth":[0]},"categoryAxis":{"axisLine":{"lineStyle":{"width":[2]}},"splitLine":{"lineStyle":{"width":[1],"color":["white"]}}},"valueAxis":{"splitLine":{"lineStyle":{"width":[1],"color":["white"]}},"axisLine":{"lineStyle":{"width":[0]}}},"5":{"fontSize":[18]}},"dataZoom":{"show":true,"x":80,"y":0,"orient":"horizontal","height":30}},"evals":["xAxis.0.axisLabel.formatter","tooltip.formatter"],"jsHooks":[]}</script>
<p>接下来是年度总降水量</p>
<div id="htmlwidget-2" style="width:672px;height:480px;" class="echarts html-widget"></div>
<script type="application/json" data-for="htmlwidget-2">{"x":{"series":[{"type":"bar","data":[352.9,479.3,710.9,481.5,577.7,872.9,717.6,770.2,622,566.2,856.4,923.8,587.7,454.8,892.8,623.3,854.3,555.7,646.5,389.1,376.8,656.4,523.6,522,681.8,574.6,579.7,584.7,654.8,564.5,536.4,581.9,856.6,589.4,561.6,619.7,693.8,720.8,664.9,588.4,554.2]}],"yAxis":[{"type":"value","show":true,"position":"left","name":"降雨量","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false},"axisTick":{"show":false},"axisLabel":{"show":true,"formatter":"function(x){return '' + x.toFixed(0) + ' mm';}"},"splitLine":{"show":true},"splitArea":{"show":false}}],"xAxis":[{"type":"category","show":true,"position":"bottom","name":"年份","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false},"axisTick":{"show":false},"axisLabel":{"show":true,"formatter":"function (x) {return x;}"},"splitLine":{"show":false},"splitArea":{"show":false},"data":["1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020"]}],"tooltip":{"show":true,"trigger":"axis","axisPointer":{"type":"shadow","crossStyle":{"type":"dashed"},"lineStyle":{"type":"solid","width":1},"shadowStyle":{"color":"rgba(150,150,150,0.3)","width":"auto","type":"default"}},"textStyle":{"color":"#fff"},"formatter":"function (params) {\n       var i;\n       var j;\n       var text;\n       var text1;\n       var sName = \"\";\n       if (params.length > 1){\n            if (params[0].value.length >1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       } else {\n            if (params[0].value.length > 1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       }\n       if (params.length > 1){\n           text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n           for (i = 1; i < params.length; i++) {\n                if (params[i].value.length > 1){\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value[0];\n                   for (j = 1; j < params[i].value.length; j++){\n                        text += \", \" + params[i].value[j];\n                   }\n                } else {\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value;\n                }\n           }\n       } else {\n           if (params[0].seriesName){\n               text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           } else {\n               text += \" :  \" + text1;\n           }\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n       }\n       return text;\n    }","islandFormatter":"{a} < br/>{b} : {c}","enterable":false,"showDelay":20,"hideDelay":100,"transitionDuration":0.4,"backgroundColor":"rgba(0,0,0,0.7)","borderColor":"#333","borderWidth":0,"borderRadius":4},"toolbox":{"show":true,"feature":{"mark":{"show":true},"dataZoom":{"show":true},"dataView":{"show":true,"readOnly":false},"magicType":{"show":true,"type":["line","bar","tiled","stack"]},"restore":{"show":true},"saveAsImage":{"show":true}},"x":"right","y":"center","orient":"vertical"},"legend":{"show":true,"data":[],"x":"left","y":"top","orient":"horizontal","selectedMode":"multiple"},"title":{"text":"顺义地区40年年度降水分析","x":"center","y":"bottom","orient":"horizontal"},"theme":{"backgroundColor":["#d5e4eb"],"grid":{"borderWidth":[0]},"categoryAxis":{"axisLine":{"lineStyle":{"width":[2]}},"splitLine":{"lineStyle":{"width":[1],"color":["white"]}}},"valueAxis":{"splitLine":{"lineStyle":{"width":[1],"color":["white"]}},"axisLine":{"lineStyle":{"width":[0]}}},"5":{"fontSize":[18]}},"dataZoom":{"show":true,"x":80,"y":0,"orient":"horizontal","height":30}},"evals":["yAxis.0.axisLabel.formatter","xAxis.0.axisLabel.formatter","tooltip.formatter"],"jsHooks":[]}</script>
<p>年度降水和平均气温整合</p>
<div id="htmlwidget-3" style="width:672px;height:480px;" class="echarts html-widget"></div>
<script type="application/json" data-for="htmlwidget-3">{"x":{"series":[{"name":"Rainfs","type":"bar","data":[352.9,479.3,710.9,481.5,577.7,872.9,717.6,770.2,622,566.2,856.4,923.8,587.7,454.8,892.8,623.3,854.3,555.7,646.5,389.1,376.8,656.4,523.6,522,681.8,574.6,579.7,584.7,654.8,564.5,536.4,581.9,856.6,589.4,561.6,619.7,693.8,720.8,664.9,588.4,554.2]},{"name":"mTEM","type":"line","data":[10.3382513661202,10.7857534246575,11.2978082191781,11.5430136986301,10.179781420765,10.0728767123288,10.5284931506849,10.5824657534247,10.8934426229508,11.4865753424658,11.2545205479452,10.7501369863014,10.9647540983607,11.0120547945205,11.8460273972603,11.3830136986301,10.8084699453552,11.6627397260274,12.078904109589,11.9175342465753,11.5726775956284,11.698904109589,11.9890410958904,11.7797260273973,11.7644808743169,11.3112328767123,11.8893150684932,12.3668493150685,11.4748633879781,11.5397260273973,10.7361643835616,11.5504109589041,10.674043715847,10.8284931506849,12.127397260274,11.9139726027397,11.8991803278689,12.2356164383562,11.6567123287671,12.0654794520548,"-"],"yAxisIndex":1}],"legend":{"show":true,"data":["Rainfs","mTEM"],"x":"center","y":"top","orient":"horizontal","selectedMode":"multiple"},"yAxis":[{"type":"value","show":true,"position":"left","name":"降雨量","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false,"lineStyle":{"width":0}},"axisTick":{"show":false},"axisLabel":{"show":true,"formatter":"function(x){return '' + x.toFixed(1) + ' mm';}"},"splitLine":{"show":true},"splitArea":{"show":false},"min":0,"max":1000},{"type":"value","show":true,"position":"right","name":"平均气温","nameLocation":"end","boundaryGap":[0,0],"min":0,"max":13,"scale":true,"axisLine":{"lineStyle":{"width":0}},"axisTick":{"show":false},"axisLabel":{"formatter":"function(x){return '' + x.toFixed(1) + ' °C';}"},"splitLine":{"show":true},"splitArea":{"show":false}}],"xAxis":[{"type":"category","show":true,"position":"bottom","name":"年份","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false,"lineStyle":{"color":"darkgray"}},"axisTick":{"show":false},"axisLabel":{"show":true},"splitLine":{"show":false},"splitArea":{"show":false},"data":["1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020"]}],"tooltip":{"show":true,"trigger":"axis","axisPointer":{"type":"shadow","crossStyle":{"type":"dashed"},"lineStyle":{"type":"solid","width":1},"shadowStyle":{"color":"rgba(150,150,150,0.3)","width":"auto","type":"default"}},"textStyle":{"color":"#fff"},"formatter":"function (params) {\n       var i;\n       var j;\n       var text;\n       var text1;\n       var sName = \"\";\n       if (params.length > 1){\n            if (params[0].value.length >1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       } else {\n            if (params[0].value.length > 1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       }\n       if (params.length > 1){\n           text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n           for (i = 1; i < params.length; i++) {\n                if (params[i].value.length > 1){\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value[0];\n                   for (j = 1; j < params[i].value.length; j++){\n                        text += \", \" + params[i].value[j];\n                   }\n                } else {\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value;\n                }\n           }\n       } else {\n           if (params[0].seriesName){\n               text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           } else {\n               text += \" :  \" + text1;\n           }\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n       }\n       return text;\n    }","islandFormatter":"{a} < br/>{b} : {c}","enterable":false,"showDelay":20,"hideDelay":100,"transitionDuration":0.4,"backgroundColor":"rgba(0,0,0,0.7)","borderColor":"#333","borderWidth":0,"borderRadius":4},"toolbox":{"show":true,"feature":{"mark":{"show":true},"dataZoom":{"show":true},"dataView":{"show":true,"readOnly":false},"magicType":{"show":true,"type":["line","bar","tiled","stack"]},"restore":{"show":true},"saveAsImage":{"show":true}},"x":"right","y":"center","orient":"vertical"},"grid":{"y":110},"theme":{"backgroundColor":["#d5e4eb"],"grid":{"borderWidth":[0]},"categoryAxis":{"axisLine":{"lineStyle":{"width":[2]}},"splitLine":{"lineStyle":{"width":[1],"color":["white"]}}},"valueAxis":{"splitLine":{"lineStyle":{"width":[1],"color":["white"]}},"axisLine":{"lineStyle":{"width":[0]}}},"5":{"fontSize":[18]}},"dataZoom":{"show":true,"x":80,"y":50,"orient":"horizontal","height":30}},"evals":["yAxis.0.axisLabel.formatter","yAxis.1.axisLabel.formatter","tooltip.formatter"],"jsHooks":[]}</script>
<p>月度降水和平均气温整合</p>
<div id="htmlwidget-4" style="width:672px;height:480px;" class="echarts html-widget"></div>
<script type="application/json" data-for="htmlwidget-4">{"x":{"timeline":{"type":"number","data":[1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020],"x":80,"x2":80},"options":[{"series":[{"name":"Rainfs","type":"bar","data":[0.5,10.8,15,24.8,18.2,121.9,16.4,64.7,52.9,24.6,0.2,2.9]},{"name":"mTEM","type":"line","data":[-6.72258064516129,-4.51379310344828,3.61935483870968,9.91666666666667,19.1612903225806,24.01,26.2290322580645,23.7322580645161,17.67,11.141935483871,5.05,-5.7],"yAxisIndex":1}],"legend":{"show":true,"data":["Rainfs","mTEM"],"x":"center","y":"top","orient":"horizontal","selectedMode":"multiple"},"yAxis":[{"type":"value","show":true,"position":"left","name":"降雨量","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false,"lineStyle":{"width":0}},"axisTick":{"show":false},"axisLabel":{"show":true,"formatter":"function(x){return '' + x.toFixed(1) + ' mm';}"},"splitLine":{"show":true},"splitArea":{"show":false},"min":0},{"type":"value","show":true,"position":"right","name":"平均气温","nameLocation":"end","boundaryGap":[0,0],"min":-10,"scale":true,"axisLine":{"lineStyle":{"width":0}},"axisTick":{"show":false},"axisLabel":{"formatter":"function(x){return '' + x.toFixed(1) + ' °C';}"},"splitLine":{"show":true},"splitArea":{"show":false}}],"xAxis":[{"type":"category","show":true,"position":"bottom","name":"月份","nameLocation":"end","boundaryGap":[0,0],"scale":true,"axisLine":{"show":true,"onZero":false,"lineStyle":{"color":"darkgray"}},"axisTick":{"show":false},"axisLabel":{"show":true},"splitLine":{"show":false},"splitArea":{"show":false},"data":["1","2","3","4","5","6","7","8","9","10","11","12"]}],"tooltip":{"show":true,"trigger":"axis","axisPointer":{"type":"shadow","crossStyle":{"type":"dashed"},"lineStyle":{"type":"solid","width":1},"shadowStyle":{"color":"rgba(150,150,150,0.3)","width":"auto","type":"default"}},"textStyle":{"color":"#fff"},"formatter":"function (params) {\n       var i;\n       var j;\n       var text;\n       var text1;\n       var sName = \"\";\n       if (params.length > 1){\n            if (params[0].value.length >1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       } else {\n            if (params[0].value.length > 1) {\n                text1 = params[0].value[0];\n            } else {\n                text1 = params[0].value;\n            }\n            text = params[0].name;\n            if (params[0].seriesName) {\n                sName = params[0].seriesName;\n            }\n       }\n       if (params.length > 1){\n           text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n           for (i = 1; i < params.length; i++) {\n                if (params[i].value.length > 1){\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value[0];\n                   for (j = 1; j < params[i].value.length; j++){\n                        text += \", \" + params[i].value[j];\n                   }\n                } else {\n                   text += \"<br/>\" + params[i].seriesName + \" :  \"\n                        + params[i].value;\n                }\n           }\n       } else {\n           if (params[0].seriesName){\n               text += \"<br/>\" + params[0].seriesName + \" :  \" + text1;\n           } else {\n               text += \" :  \" + text1;\n           }\n           if (params[0].value.length > 1){\n                for (j = 1; j < params[0].value.length; j++){\n                    text += \", \" + params[0].value[j];\n                }\n           }\n       }\n       return text;\n    }","islandFormatter":"{a} < br/>{b} : {c}","enterable":false,"showDelay":20,"hideDelay":100,"transitionDuration":0.4,"backgroundColor":"rgba(0,0,0,0.7)","borderColor":"#333","borderWidth":0,"borderRadius":4},"toolbox":{"show":true,"feature":{"mark":{"show":true},"dataZoom":{"show":true},"dataView":{"show":true,"readOnly":false},"magicType":{"show":true,"type":["line","bar","tiled","stack"]},"restore":{"show":true},"saveAsImage":{"show":true}},"x":"right","y":"center","orient":"vertical"},"grid":{"y":110},"dataZoom":{"show":true,"x":80,"y":50,"orient":"horizontal","height":30}},{"series":[{"name":"Rainfs","type":"bar","data":[1.1,8.4,4.3,13.3,25.9,55.6,160.7,123.6,54.6,15.9,10.9,5]},{"name":"mTEM","type":"line","data":[-6.9741935483871,-3.85,5.87096774193548,14.5533333333333,18.8709677419355,24.2966666666667,26.9451612903226,23.7677419354839,19.1633333333333,10.041935483871,0.48,-4.65806451612903]}]},{"series":[{"name":"Rainfs","type":"bar","data":[3.1,4.3,1.1,10.6,14.5,166.8,222.1,248,6.3,27.6,6.5,0]},{"name":"mTEM","type":"line","data":[-7.4741935483871,-1.62142857142857,5.5,14.65,19.9709677419355,23.05,24.3645161290323,24.7903225806452,18.73,13.7483870967742,3.36333333333333,-4.27741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0.4,8.5,57.5,38.6,56.2,86.5,171.6,43.7,14.8,3.7,0]},{"name":"mTEM","type":"line","data":[-5.25806451612903,-4.43571428571429,5.28387096774194,13.5833333333333,20.1225806451613,24.4633333333333,26.1774193548387,24.2322580645161,20.56,12.2032258064516,3.82333333333333,-3.26129032258065]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0.7,1,24.6,5.8,76.2,167.4,229,47,9.5,13.6,2.9]},{"name":"mTEM","type":"line","data":[-7.99677419354839,-5.31034482758621,1.95806451612903,12.2433333333333,19.7483870967742,23.7833333333333,25.3354838709677,24.2903225806452,18.3066666666667,11.8193548387097,3.21333333333333,-5.69032258064516]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0.6,9.2,11.5,11.3,73.3,70.8,277.3,350.5,41.6,2.7,23.4,0.7]},{"name":"mTEM","type":"line","data":[-7.60967741935484,-4.16071428571429,1.71935483870968,13.4133333333333,18.4225806451613,23.1266666666667,24.658064516129,24.158064516129,17.64,12.6451612903226,1.93666666666667,-5.94193548387097]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,6.2,4.7,0.8,22.8,152.2,294.7,96,116.3,13.7,7.3,2.9]},{"name":"mTEM","type":"line","data":[-6.81935483870968,-4.10357142857143,5.20967741935484,13.6466666666667,19.7612903225806,24.2233333333333,24.1870967741935,23.3096774193548,18.54,10.1516129032258,1.07666666666667,-3.76129032258065]}]},{"series":[{"name":"Rainfs","type":"bar","data":[6.8,2.5,30.1,33.3,59.3,99.5,143,305.8,61.2,2.4,25.6,0.7]},{"name":"mTEM","type":"line","data":[-7.10967741935484,-2.22142857142857,2.23225806451613,12.3433333333333,18.558064516129,22.1333333333333,25.2193548387097,23.5258064516129,19.8233333333333,12.4677419354839,2.37666666666667,-3.13548387096774]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0.1,1,8.4,6.3,50.6,22.9,181.3,269.3,58.1,23,0,1]},{"name":"mTEM","type":"line","data":[-6.14516129032258,-4.17931034482759,2.28064516129032,13.27,18.6064516129032,23.8766666666667,25.258064516129,23.7096774193548,20.0233333333333,12.4935483870968,3.99666666666667,-2.8741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[5.9,0,1.7,29.7,27,52.5,271.2,95.5,66.7,6.9,9.1,0]},{"name":"mTEM","type":"line","data":[-4.24516129032258,-1.13928571428571,6.0741935483871,14.5066666666667,19.458064516129,23.7233333333333,24.6129032258065,23.9290322580645,17.9233333333333,11.8774193548387,2.61333333333333,-2.30322580645161]}]},{"series":[{"name":"Rainfs","type":"bar","data":[2.3,20.9,35,62.2,46.6,127.4,233.6,208.8,111.4,0.9,7.3,0]},{"name":"mTEM","type":"line","data":[-7.39032258064516,-1.72857142857143,6.18064516129032,12.3133333333333,18.4645161290323,23.4166666666667,24.858064516129,24.3870967741935,19.1866666666667,13.3709677419355,4.51,-3.30645161290323]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,1.7,15.1,16.6,58.3,222.8,204.8,241.1,134.7,19.1,2.1,7.5]},{"name":"mTEM","type":"line","data":[-5.19677419354839,-2.86785714285714,2.94516129032258,12.25,18.141935483871,22.7566666666667,24.8516129032258,25.8516129032258,19,12.1032258064516,2.34666666666667,-4.06774193548387]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0.6,0,5.2,3.1,28.3,59,248.8,145.2,38.7,40.2,18.6,0]},{"name":"mTEM","type":"line","data":[-3.60967741935484,-1.58275862068966,4.53548387096774,13.4633333333333,18.9064516129032,22.2866666666667,25.5322580645161,23.7161290322581,18.8933333333333,10.658064516129,0.97,-2.62258064516129]}]},{"series":[{"name":"Rainfs","type":"bar","data":[3.4,1.9,0.3,6,6.3,61.4,180.8,95.4,46.6,18.6,34.1,0]},{"name":"mTEM","type":"line","data":[-6.54193548387097,-0.775,5.2741935483871,12.23,19.8032258064516,24.24,24.2935483870968,23.7967741935484,19.25,11.7774193548387,2.04666666666667,-3.94838709677419]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0.2,2.8,0,2.1,62.6,6.8,449.2,343.2,7.6,7.8,4,6.5]},{"name":"mTEM","type":"line","data":[-4.77741935483871,-1.58928571428571,3.1258064516129,16.02,18.9516129032258,25.65,26.6096774193548,25.4516129032258,18.9433333333333,12.0032258064516,4.49333333333333,-3.45806451612903]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0.1,3.7,0.6,75.3,41.6,181.9,105.1,196.6,17.1,0,1.3]},{"name":"mTEM","type":"line","data":[-5.10967741935484,-1.14642857142857,5.49677419354839,13.05,18.1677419354839,23.37,25.1838709677419,24.5451612903226,17.93,13.0032258064516,4.39666666666667,-3.07741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0,14.2,1.3,16.7,59.9,264.5,376.7,72.9,39.2,5.7,3.2]},{"name":"mTEM","type":"line","data":[-5.68387096774194,-3.49655172413793,4.20645161290323,12.56,19.6838709677419,23.7366666666667,24.6903225806452,23.3129032258065,19.4566666666667,11.4225806451613,1.93,-2.5741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[2.6,0.4,1.7,17.5,84.1,27.7,186.8,169.8,31.3,22.8,3.4,7.6]},{"name":"mTEM","type":"line","data":[-6.76129032258065,-1.46071428571429,6.68387096774194,13.7733333333333,19.0645161290323,23.5766666666667,27.7258064516129,25.9387096774194,17.8233333333333,11.7709677419355,4.40333333333333,-3.43870967741936]}]},{"series":[{"name":"Rainfs","type":"bar","data":[1.3,11.6,7.4,35.5,56,133.7,242.9,65.1,24.2,55.4,10.9,2.5]},{"name":"mTEM","type":"line","data":[-5.9741935483871,0.464285714285714,6.56129032258065,14.8466666666667,19.3161290322581,23.2033333333333,25.9548387096774,24.3516129032258,21.4666666666667,13.8483870967742,2.51333333333333,-2.28709677419355]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0,7.4,38.7,29.5,19,126.8,77.7,58.3,14.5,13.9,3.3]},{"name":"mTEM","type":"line","data":[-3.58387096774194,-0.203571428571429,3.88387096774194,13.6133333333333,18.9322580645161,25.1033333333333,27.3870967741935,24.5870967741935,19.8533333333333,11.4290322580645,4.31666666666667,-2.99032258064516]}]},{"series":[{"name":"Rainfs","type":"bar","data":[13.1,0,7.3,19.4,67.7,3.2,32.6,135.7,42.9,45.3,9.6,0]},{"name":"mTEM","type":"line","data":[-8.6741935483871,-3.75172413793103,6.36774193548387,13.3733333333333,19.9193548387097,26.2866666666667,29.0967741935484,24.9612903225806,20.4066666666667,11.5870967741935,1.46333333333333,-2.66129032258065]}]},{"series":[{"name":"Rainfs","type":"bar","data":[10.9,1,0,17.8,14.2,191.5,165.1,165.2,11.9,53.2,23.9,1.7]},{"name":"mTEM","type":"line","data":[-7.70645161290323,-2.62857142857143,5.36451612903226,13.6233333333333,22.4451612903226,25.3666666666667,26.4129032258065,24.6806451612903,19.8266666666667,12.9193548387097,3.69666666666667,-4.49354838709677]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0,3.3,21.9,33.8,88,136.5,144.4,57.1,28.8,0,9.8]},{"name":"mTEM","type":"line","data":[-2.56774193548387,0.989285714285714,8.35161290322581,13.56,21.4161290322581,23.42,26.6935483870968,25.1516129032258,19.4933333333333,9.33870967741935,1.57666666666667,-4.29354838709677]}]},{"series":[{"name":"Rainfs","type":"bar","data":[5.1,0,26.5,11.7,41.9,69.7,29.1,123.7,138.9,55.1,20.2,0.1]},{"name":"mTEM","type":"line","data":[-5.22903225806452,-0.557142857142857,5.24516129032258,14.3566666666667,20.6193548387097,23.9233333333333,25.6838709677419,25.7,19.45,11.4451612903226,2.43333333333333,-2.48709677419355]}]},{"series":[{"name":"Rainfs","type":"bar","data":[1,14,0,18.3,37.1,159.7,163.7,148.9,107.3,14.2,13.4,4.2]},{"name":"mTEM","type":"line","data":[-5.14193548387097,0.43448275862069,5.85806451612903,15.7166666666667,19.4354838709677,24.1133333333333,24.8,23.6709677419355,19.1333333333333,11.7774193548387,4.09666666666667,-2.93548387096774]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,7.4,0.2,22.8,108.8,124.8,93.9,199.1,16.2,1.3,0,0.1]},{"name":"mTEM","type":"line","data":[-5.93548387096774,-4.7,4.19354838709677,15.01,18.9548387096774,24.1166666666667,26.5903225806452,24.5870967741935,20.2933333333333,12.4290322580645,4.34666666666667,-5.10322580645161]}]},{"series":[{"name":"Rainfs","type":"bar","data":[1.5,2.6,0,9.2,63.1,143.1,140.4,177.7,16.7,21.6,2.8,1]},{"name":"mTEM","type":"line","data":[-4.02258064516129,-3,6.17741935483871,12.99,19.6322580645161,24.3066666666667,24.8935483870968,25.2,19.72,14.7225806451613,4.81,-3.73870967741935]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0,36.5,11.6,47.6,46.1,220.6,54.6,70.8,87,6.2,3.7]},{"name":"mTEM","type":"line","data":[-4.16774193548387,1.36785714285714,5.18064516129032,13.8333333333333,21.0322580645161,25.55,25.9677419354839,25.5322580645161,20.87,11.6451612903226,3.12666666666667,-2.15161290322581]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0,14.9,45.6,47.3,95.7,117,217.4,93.2,21.6,0.2,1.9]},{"name":"mTEM","type":"line","data":[-5.78709677419355,-2.69310344827586,7.04516129032258,14.7733333333333,19.0032258064516,22.9033333333333,26.2290322580645,24.7516129032258,19.7333333333333,12.1225806451613,3.01,-3.83870967741935]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,14.3,7.9,26.7,23.8,78.2,233.5,95,55.3,15.7,14.1,0]},{"name":"mTEM","type":"line","data":[-5.47741935483871,-0.435714285714286,5.32903225806452,14.6233333333333,21.4451612903226,24.72,25.9741935483871,24.341935483871,19.5833333333333,12.2483870967742,0.0533333333333333,-4.6741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[9.3,2,28.5,17.3,50.3,54.7,129.5,105.3,68.1,71.4,0,0]},{"name":"mTEM","type":"line","data":[-8.37741935483871,-3.06785714285714,2.39354838709677,9.98333333333333,20.4193548387097,23.96,27.7129032258064,25.141935483871,19.5166666666667,11.3741935483871,2.98666666666667,-4.10967741935484]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,5.4,0,4.4,21.3,98.7,335.1,43.8,43.1,12.5,15.6,2]},{"name":"mTEM","type":"line","data":[-7.63548387096774,-1.8,5.53548387096774,13.7633333333333,19.8064516129032,25.1533333333333,26.0354838709677,25.4967741935484,18.5166666666667,12.0129032258065,5.02666666666667,-4.0741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[1,0,16.2,45.8,40.8,107.5,361.3,55,108.9,32.7,77.2,10.2]},{"name":"mTEM","type":"line","data":[-6.75483870967742,-4.49655172413793,3.90967741935484,14.7333333333333,21.0322580645161,23.3066666666667,26.1064516129032,24.6612903225806,18.4433333333333,11.8096774193548,1.99,-7.12258064516129]}]},{"series":[{"name":"Rainfs","type":"bar","data":[3.6,5.6,6.4,12.5,0.7,185.1,140,155.5,52,28,0,0]},{"name":"mTEM","type":"line","data":[-7.34516129032258,-3.3,4.19032258064516,10.8066666666667,20.4129032258065,22.5366666666667,26.0548387096774,25.2903225806452,18.7766666666667,11.2935483870968,3.29,-3.04193548387097]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,4.2,1.5,23.6,35.6,131.6,110.4,152.4,81.8,19.9,0.2,0.4]},{"name":"mTEM","type":"line","data":[-3.14516129032258,-1.98928571428571,7.61935483870968,15.8866666666667,20.1322580645161,23.8633333333333,26.7645161290323,24.9096774193548,19.0366666666667,12.0741935483871,3.65333333333333,-4.19354838709677]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0.4,6.9,1.4,43.3,33.7,66,222.2,82.1,104.2,11.6,46.1,1.8]},{"name":"mTEM","type":"line","data":[-3.47741935483871,-1.03214285714286,6.80967741935484,14.36,20.1516129032258,23.49,25.8193548387097,24.7612903225806,19.0466666666667,11.9709677419355,2.33666666666667,-2.14838709677419]}]},{"series":[{"name":"Rainfs","type":"bar","data":[1.4,12.8,0,14.7,53.5,97.5,237.1,75.6,124.3,58.8,18.1,0]},{"name":"mTEM","type":"line","data":[-7.18709677419355,-1.51724137931034,6.77096774193548,15.4133333333333,19.8161290322581,24.2333333333333,26.5548387096774,25.9516129032258,19.92,11.9806451612903,2.46,-2.00645161290323]}]},{"series":[{"name":"Rainfs","type":"bar","data":[1.2,3.5,9.7,0,21.4,74.7,261.9,290.7,5.2,52.5,0,0]},{"name":"mTEM","type":"line","data":[-3.77741935483871,-0.267857142857143,6.5741935483871,15.7066666666667,21.9870967741935,24.64,26.9741935483871,24.7322580645161,20.3633333333333,11.3903225806452,1.60666666666667,-3.88064516129032]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,0,3.5,67.7,14.6,21.5,405.9,112.5,28.6,6.1,3,1.5]},{"name":"mTEM","type":"line","data":[-6.26451612903226,-3.85714285714286,6.86451612903226,14.5533333333333,20.8290322580645,25.56,27.1064516129032,26.7225806451613,18.91,10.4870967741935,3.46,-5.48064516129032]}]},{"series":[{"name":"Rainfs","type":"bar","data":[0,3.8,1.2,48.8,84.7,35.2,114.4,199.7,30.8,33.6,28,8.2]},{"name":"mTEM","type":"line","data":[-4.77096774193548,-2.51071428571429,7.3258064516129,13.9466666666667,20.3225806451613,25.1166666666667,26.7612903225806,24.4258064516129,21.3766666666667,11.7967741935484,3.98333333333333,-3.87741935483871]}]},{"series":[{"name":"Rainfs","type":"bar","data":[3,22.8,12.1,23.4,69.3,10.9,171.4,175.9,65.4]},{"name":"mTEM","type":"line","data":["-",-0.758620689655172,6.98064516129032,13.7833333333333,19.8967741935484,25.84,25.6967741935484,25.4838709677419,19.5133333333333]}]}],"theme":{"backgroundColor":["#d5e4eb"],"grid":{"borderWidth":[0]},"categoryAxis":{"axisLine":{"lineStyle":{"width":[2]}},"splitLine":{"lineStyle":{"width":[1],"color":["white"]}}},"valueAxis":{"splitLine":{"lineStyle":{"width":[1],"color":["white"]}},"axisLine":{"lineStyle":{"width":[0]}}},"5":{"fontSize":[18]}}},"evals":["options.0.yAxis.0.axisLabel.formatter","options.0.yAxis.1.axisLabel.formatter","options.0.tooltip.formatter"],"jsHooks":[]}</script>

    </div>

    






<div class="article-tags">
  
  <a class="badge badge-light" href="/tag/r/">R</a>
  
  <a class="badge badge-light" href="/tag/visualization/">visualization</a>
  
</div>



<div class="share-box" aria-hidden="true">
  <ul class="share">
    
      
      
      
        
      
      
      
      <li>
        <a href="https://twitter.com/intent/tweet?url=/post/visualization-of-history-daily-weather/&amp;text=Visualization%20of%20history%20daily%20weather" target="_blank" rel="noopener" class="share-btn-twitter">
          <i class="fab fa-twitter"></i>
        </a>
      </li>
    
      
      
      
        
      
      
      
      <li>
        <a href="https://www.facebook.com/sharer.php?u=/post/visualization-of-history-daily-weather/&amp;t=Visualization%20of%20history%20daily%20weather" target="_blank" rel="noopener" class="share-btn-facebook">
          <i class="fab fa-facebook"></i>
        </a>
      </li>
    
      
      
      
        
      
      
      
      <li>
        <a href="mailto:?subject=Visualization%20of%20history%20daily%20weather&amp;body=/post/visualization-of-history-daily-weather/" target="_blank" rel="noopener" class="share-btn-email">
          <i class="fas fa-envelope"></i>
        </a>
      </li>
    
      
      
      
        
      
      
      
      <li>
        <a href="https://www.linkedin.com/shareArticle?url=/post/visualization-of-history-daily-weather/&amp;title=Visualization%20of%20history%20daily%20weather" target="_blank" rel="noopener" class="share-btn-linkedin">
          <i class="fab fa-linkedin-in"></i>
        </a>
      </li>
    
      
      
      
        
      
      
      
      <li>
        <a href="whatsapp://send?text=Visualization%20of%20history%20daily%20weather%20/post/visualization-of-history-daily-weather/" target="_blank" rel="noopener" class="share-btn-whatsapp">
          <i class="fab fa-whatsapp"></i>
        </a>
      </li>
    
      
      
      
        
      
      
      
      <li>
        <a href="https://service.weibo.com/share/share.php?url=/post/visualization-of-history-daily-weather/&amp;title=Visualization%20of%20history%20daily%20weather" target="_blank" rel="noopener" class="share-btn-weibo">
          <i class="fab fa-weibo"></i>
        </a>
      </li>
    
  </ul>
</div>











  
  



  
  
  
    
  
  
  
  <div class="media author-card content-widget-hr">
    
      
      <img class="avatar mr-3 avatar-circle" src="/author/wei-li-%E6%9D%8E%E4%BC%9F/avatar_hub3073a2d7130b72128f9051bcebf5286_704342_270x270_fill_q75_lanczos_center.jpg" alt="Wei Li (李伟)">
    

    <div class="media-body">
      <h5 class="card-title">Wei Li (李伟)</h5>
      <h6 class="card-subtitle">PostDoc of Crop Science</h6>
      <p class="card-text">My research interests include high throughput crop phenotyping and genetics of quantitative traits in maize.</p>
      <ul class="network-icon" aria-hidden="true">
  
    
    
    
      
    
    
    
    
    
      
    
    <li>
      <a href="/#contact" >
        <i class="fas fa-envelope"></i>
      </a>
    </li>
  
    
    
    
    
    
    
    
      
    
    <li>
      <a href="https://scholar.google.com/citations?user=b5CDv0MAAAAJ&amp;hl=zh-CN" target="_blank" rel="noopener">
        <i class="ai ai-google-scholar"></i>
      </a>
    </li>
  
    
    
    
      
    
    
    
    
    
      
    
    <li>
      <a href="https://github.com/wellionx/" target="_blank" rel="noopener">
        <i class="fab fa-github"></i>
      </a>
    </li>
  
    
    
    
      
    
    
    
    
    
      
    
    <li>
      <a href="https://orcid.org/0000-0002-4210-8306" target="_blank" rel="noopener">
        <i class="fab fa-orcid"></i>
      </a>
    </li>
  
    
    
    
      
    
    
    
    
    
      
    
    <li>
      <a href="https://wellion.tech" target="_blank" rel="noopener">
        <i class="fab fa-internet-explorer"></i>
      </a>
    </li>
  
</ul>

    </div>
  </div>









<section id="comments">
  
    

  
</section>








  
  
  <div class="article-widget content-widget-hr">
    <h3>Related</h3>
    <ul>
      
      <li><a href="/post/rainfall-in-2021-summer/">Rainfall in 2021 summer</a></li>
      
      <li><a href="/post/hourly-weather/">hourly weather</a></li>
      
      <li><a href="/post/2020-12-18-pca-analysis-of-reflectance-spectra/">PCA analysis of reflectance spectra</a></li>
      
      <li><a href="/post/2020-12-18-website-collection/">Website collection</a></li>
      
    </ul>
  </div>
  





  </div>
</article>
  </div>

  <div class="page-footer">
    
    
    <div class="container">
      <footer class="site-footer">
  

  <p class="powered-by">
    Wei Li ©2021
  </p>

  
  






  <p class="powered-by">
    
    
    
    Published with
    <a href="https://wowchemy.com/?utm_campaign=poweredby" target="_blank" rel="noopener">Wowchemy</a>  —
    the free, <a href="https://github.com/wowchemy/wowchemy-hugo-modules" target="_blank" rel="noopener">
    open source</a> website builder that empowers creators.
    
  </p>
</footer>

    </div>
    
  </div>

  
<div id="modal" class="modal fade" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Cite</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <pre><code class="tex hljs"></code></pre>
      </div>
      <div class="modal-footer">
        <a class="btn btn-outline-primary my-1 js-copy-cite" href="#" target="_blank">
          <i class="fas fa-copy"></i> Copy
        </a>
        <a class="btn btn-outline-primary my-1 js-download-cite" href="#" target="_blank">
          <i class="fas fa-download"></i> Download
        </a>
        <div id="modal-error"></div>
      </div>
    </div>
  </div>
</div>

      

    
    
    
      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>

      
      
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js" integrity="sha256-lqvxZrPLtfffUl2G/e7szqSvPBILGbwmsGE1MKlOi0Q=" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js" integrity="sha256-CBrpuqrMhXwcLLUd5tvQ4euBHCdh7wGlDfNz8vbu/iI=" crossorigin="anonymous"></script>
      

      <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js" integrity="sha256-yt2kYMy0w8AbtF89WXb2P1rfjcP/HTHLT7097U8Y5b8=" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/instant.page/5.1.0/instantpage.min.js" integrity="sha512-1+qUtKoh9XZW7j+6LhRMAyOrgSQKenQ4mluTR+cvxXjP1Z54RxZuzstR/H9kgPXQsVB8IW7DMDFUJpzLjvhGSQ==" crossorigin="anonymous"></script>

      

      
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/highlight.min.js" integrity="sha512-TDKKr+IvoqZnPzc3l35hdjpHD0m+b2EC2SrLEgKDRWpxf2rFCxemkgvJ5kfU48ip+Y+m2XVKyOCD85ybtlZDmw==" crossorigin="anonymous"></script>
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.2.0/languages/r.min.js"></script>
        
      

    

    
    
      <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.js" integrity="sha512-SeiQaaDh73yrb56sTW/RgVdi/mMqNeM2oBwubFHagc5BkixSpP1fvqF47mKzPGWYSSy4RwbBunrJBQ4Co8fRWA==" crossorigin="anonymous"></script>
    

    
    
    <script>const code_highlighting = true;</script>
    

    
    
    
    
    
    
    <script>
      const search_config = {"indexURI":"/index.json","minLength":1,"threshold":0.3};
      const i18n = {"no_results":"No results found","placeholder":"Search...","results":"results found"};
      const content_type = {
        'post': "Posts",
        'project': "Projects",
        'publication' : "Publications",
        'talk' : "Talks",
        'slides' : "Slides"
        };
    </script>
    

    
    

    
    
    <script id="search-hit-fuse-template" type="text/x-template">
      <div class="search-hit" id="summary-{{key}}">
      <div class="search-hit-content">
        <div class="search-hit-name">
          <a href="{{relpermalink}}">{{title}}</a>
          <div class="article-metadata search-hit-type">{{type}}</div>
          <p class="search-hit-description">{{snippet}}</p>
        </div>
      </div>
      </div>
    </script>
    

    
    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.1/fuse.min.js" integrity="sha256-VzgmKYmhsGNNN4Ph1kMW+BjoYJM2jV5i4IlFoeZA9XI=" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha256-4HLtjeVgH0eIB3aZ9mLYF6E8oU5chNdjU6p6rrXpl9U=" crossorigin="anonymous"></script>
    

    
    

    
    
    

    
    

    
    

    
    
    
    
    
    
    
    
    
      
    
    
    
    
    <script src="/js/wowchemy.min.01aef7feed836dba63651a805a4f1c14.js"></script>

    






</body>
</html>
